<?exit?>

<div class="mbox">
	<div class="mbox_h">
		<h3>$lang['hotcoupon']</h3>
		<em><a href="consume.php">$lang['more']</a></em>
	</div>
	<div class="mbox_c">
		<ul class="plist plb cl">
		<!--{if $_G['brandads']['consumearr']}-->
		<!--{loop $_G['brandads']['consumearr'] $tmpid}-->
		<!--{eval $tmparr = $_BCACHE->getiteminfo('consume', $tmpid['itemid'], $tmpid['shopid'], array('thumbwidth'=>'210', 'thumbheight'=>'130'))}-->
		<!--{if !empty($tmparr['itemid'])}-->
			<li>
			<!--{if $tmparr['validity_end'] > $_G['timestamp'] && $tmparr['validity_start'] < $_G['timestamp']}-->
			<!--{elseif $tmparr['validity_end'] < $_G['timestamp']}-->
			<!--{/if}-->
				<div class="thumb"><a target="_blank" href="store.php?id={$tmparr['shopid']}&action=consume&xid={$tmparr['itemid']}"><img src="$tmparr['thumb-210x130']" alt="{$tmparr['subject']}" /></a></div>
				<p class="mtn"><a href="store.php?id={$tmparr['shopid']}&action=consume&xid={$tmparr['itemid']}" title="{$tmparr['subject']}">{$tmparr['subject']}</a></p>
				<p class="xi1">{$lang['deadline']}{$lang['colon']} #date('Y-m-d', $tmparr['validity_start'])# $lang['to'] #date('Y-m-d', $tmparr['validity_end'])#</p>
			</li>
			<!--{/if}-->
		<!--{/loop}-->
		<!--{else}-->
		<li></li>
		<!--{/if}-->
		</ul>
	</div>
</div>


<!--{eval unset($tmparr, $tmpads, $tmpid);}-->